set Stroke Dash End Cap
Set the cap geometry at the trailing edge of each dash piece (excluding the line's actual end). Only takes effect when a dash pattern is active. Distinct from setStrokeEndCap, which only applies to the end of the open path itself.
Parameters
block
the block whose dash end cap should be set.
cap
the cap geometry to use at the trailing edge of each dash piece.